package com.wenlong.agricultural.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wenlong.agricultural.pojo.CommodityInfo;

import java.util.List;

/**
 * @author 苏文龙
 * @version 1.0
 */
public interface CommodityService extends IService<CommodityInfo>  {
    List<CommodityInfo> getAllCommodity();

    Page<CommodityInfo> getCommoditiesByBage(Long cur, Long size);
}
